import React, { Component } from 'react'
import { Text, View, Button, StyleSheet } from 'react-native'
export default class Home extends Component {
  render () {
    console.log(this.props)
    let { navigate } = this.props.navigation
    return (
      <View>
        <Text> Home </Text>
        <Button
          onPress={ () => { navigate('List', { from: 'Home' }) } }
          title="跳转至 List">
        </Button>
      </View>
    )
  }
}

